$OpenBSD: patch-txt_format_c,v 1.1 2016/01/11 17:05:46 sthen Exp $
--- txt_format.c.orig	Mon Jan 11 17:00:04 2016
+++ txt_format.c	Mon Jan 11 17:00:49 2016
@@ -423,7 +423,7 @@ int fmt_seconds(ci_request_t *req, char *buf,int len, 
 {
    time_t tm;
    time(&tm);
-   return snprintf(buf, len, "%ld", tm);
+   return snprintf(buf, len, "%llu", (uint64_t) tm);
 }
 
 int fmt_httpclientip(ci_request_t *req, char *buf,int len, const char *param)
